<?php

namespace app\common\model;

use think\Model;

class Type extends Model
{
        public function specs(){
            return $this->hasMany('Spec','type_id');
        }
}
